import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity('sys_user')
export class SysUserPo {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'user_name', length: 10 })
  userName: string;

  @Column({ name: 'password', length: 20 })
  password: string;

  @Column({ name: 'nick_name', length: 10 })
  nickName: string;
}
